



#ifndef RAY_H
#define RAY_H


#include "KdTree.h"
#include "HitData.h"

#define INF_PATH_LENGTH 1.0e10
#define TINY_PATH_LENGTH 1.0e-10


class Ray
{
	
public:
		
	Ray();

	Vec4 m_origin;
	Vec4 m_direction;
	
	// Stack used during this Ray's runtime traversal of kd-tree.
	vector<KdTree::StackElmt> m_kdStack;
	
	HitData m_hitWorld;

	
};
	



#endif //RAY_H